﻿@using DealKhuyenMaiV2.com.Helpers;
@if(Request.IsAuthenticated) {
    <text>Welcome <strong><a href="@Url.Action("UserDetail", "Account")">@(User.Identity.Name.Length > 15 ? User.Identity.Name.Substring(0, 15) + "..." : User.Identity.Name)</a></strong>
    [ @Html.ActionLink("Đăng xuất", "LogOff", "Account") ]
    </text>
}
else
{
    @:[ @Html.ActionLink("Đăng nhập", "LogOn", "Account")] [ @Html.ActionLink("Đăng Kí", "Register", "Account")]
    
}
